/**
 * 
 */
package com.swim.phonenumprivacy.service;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.swim.phonenumprivacy.entity.NatatoriumPhonenumBind;
import com.swim.phonenumprivacy.dao.NatatoriumPhonenumBindDao;

/**
 * 游泳馆号码绑定表Service
 * @author ljw
 * @version 2024-01-14
 */
@Service
@Transactional(readOnly=true)
public class NatatoriumPhonenumBindService extends CrudService<NatatoriumPhonenumBindDao, NatatoriumPhonenumBind> {
	
	/**
	 * 获取单条数据
	 * @param natatoriumPhonenumBind
	 * @return
	 */
	@Override
	public NatatoriumPhonenumBind get(NatatoriumPhonenumBind natatoriumPhonenumBind) {
		return super.get(natatoriumPhonenumBind);
	}
	
	/**
	 * 查询分页数据
	 * @param page 分页对象
	 * @param natatoriumPhonenumBind
	 * @return
	 */
	@Override
	public Page<NatatoriumPhonenumBind> findPage(Page<NatatoriumPhonenumBind> page, NatatoriumPhonenumBind natatoriumPhonenumBind) {
		return super.findPage(page, natatoriumPhonenumBind);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param natatoriumPhonenumBind
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(NatatoriumPhonenumBind natatoriumPhonenumBind) {
		super.save(natatoriumPhonenumBind);
	}
	
	/**
	 * 更新状态
	 * @param natatoriumPhonenumBind
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(NatatoriumPhonenumBind natatoriumPhonenumBind) {
		super.updateStatus(natatoriumPhonenumBind);
	}
	
	/**
	 * 删除数据
	 * @param natatoriumPhonenumBind
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(NatatoriumPhonenumBind natatoriumPhonenumBind) {
		super.delete(natatoriumPhonenumBind);
	}
	
}